package com.jones.restaurant.utils;

import android.content.Context;

import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;

public class VolleyTool {
	private static RequestQueue requestQueue;

	private VolleyTool(){
	}
	
	public static RequestQueue getQueueInstace(Context context){
		if(requestQueue == null){
			requestQueue = Volley.newRequestQueue(context);
		}
		return requestQueue;
	}
	
}
